package com.cnyz.controller;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")


@ApiModel(description = "测试接口")
public class TestController {

    @ApiOperation(value = "helloWorld")


    @GetMapping("/helloWorld")
    public String helloWorld() {
       return "Hello, World!";
    }
}
